@extends('../manage.layout')
@section('content')
    <!-- Content Header (Page header) -->
    <section class="content-header">
        <h1>
            系统管理
            <small>修改密码</small>
        </h1>
        <ol class="breadcrumb">
            <li><a href="/manage"><i class="fa fa-dashboard"></i>首页</a></li>
            <li class="active">修改密码</li>
        </ol>
    </section>
    <!-- Main content -->
    <section class="content animated fadeInRight">
        <div class="row">
            <div class="col-md-12">
                <!-- general form elements -->
                <div class="box-body table-responsive no-padding">
                    <div class="box box-primary">
                        <!-- /.box-header -->
                        <!-- form start -->
                        <form method="post" action="{{ url('manage/change_pass') }}" enctype='multipart/form-data'>
                            {{--{{ csrf_field() }}--}}
                            <input type="hidden" name="_token" value="{{ csrf_token() }}">
                            <input type="hidden" name="user_id" value="{{ session('user.id') }}">
                            <div class="box-body">
                                <div class="form-group">
                                    <label for="exampleInputPassword">旧密码</label>
                                    <input type="password" class="form-control" id="old_pass" name="old_pass" value="" required="required" placeholder="旧密码">
                                </div>
                                <div class="form-group">
                                    <label for="exampleInputPassword">新密码</label>
                                    <input type="password" class="form-control" id="new_pass" name="new_pass" value="" required="required" placeholder="新密码">
                                </div>
                                <div class="form-group">
                                    <label for="exampleInputPassword">确认密码</label>
                                    <input type="password" class="form-control" id="dob_pass" name="dob_pass" value="" required="required" placeholder="确认密码">
                                </div>
                            </div>
                            <!-- /.box-body -->

                            <div class="box-footer">
                                <button type="submit" class="btn btn-primary">确定</button>&nbsp;&nbsp;
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </section>
    <!-- /.content -->
@endsection
@section('script')
    <script src="/plugin/jquery/jquery-2.2.1.min.js"></script>
    <script src="/plugin/layer-2.4/layer.js"></script>
@endsection
